package com.xiaofeng.pochi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaofeng.pochi.pojo.ShopProduct;
import com.xiaofeng.pochi.pojo.ShopUserAddress;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/09/14/21:20
 * @Description:
 */
public interface ShopUserAddressService {
    //添加收货地址
    void save(ShopUserAddress shopUserAddress);

    /**
     * 修改收货地址
     * */
    void update(ShopUserAddress shopUserAddress);

    void delete(Long id);

    ShopUserAddress get(Long id);

    /**
     * 根据用户命查询收获地址
     * */
    List<ShopUserAddress> getUserAddress();

}
